<?php
/**
 * Prado Portal.
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: DownloadPortlet.php 401 2011-01-04 21:18:30Z steen.rabol $
 *
 */

Prado::using('Application.Portlets.Portlet');
class DownloadPortlet extends Portlet
{	
	public function PortletInstall()
	{
		parent::PortletInstall();
		$savePath	= $this->Application->PortalBasePath	. '/storage/DownloadPortlet/';
		// Created the directory to store files
		PortalUtil::CreateDirStructure($savePath);		
		return true;
	}

	public function PortletUnInstall()
	{
		// Clean up...
		return parent::PortletUnInstall();
	}
}
?>